package com.chang.bootplus.entity;

import com.chang.bootplus.base.database.EntityBase;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.models.auth.In;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author chang
 * @since 2022-01-06
 */
@Getter
@Setter
@Accessors(chain = true)
@ApiModel(value = "Evaluate对象", description = "")
public class Evaluate extends EntityBase {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("商品评价")
    private String message;

    @ApiModelProperty("对应商品id")
    private Long pid;

    @ApiModelProperty("用户id")
    private Long userId;

    @ApiModelProperty("评价等级")
    private Integer grade;


    @ApiModelProperty("父级评论id")
    private Long parentId;

    @ApiModelProperty("点赞数")
    private Long lovenum;

    @ApiModelProperty("点赞状态")
    private Integer lovestatus;


    @ApiModelProperty("父级评论id")
    private Long backId;


}
